package com.strongbj.iot.devices.newlight.entity;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Data;

@Data
public class KeyData {
	/**
	 * 灭灯
	 */
	public static final String OFF_STATE = "off";
	/**
	 * 常亮
	 */
	public static final String LIGHT_STATE = "light";
	/**
	 * 慢闪
	 */
	public static final String FLASH_STATE = "flash";
	/**
	 * 快闪
	 */
	public static final String X_FLASH_STATE = "xflash";
	
	private String readerCode;
	
	@JSONField(name="tag")
	private String card;
	
	private String key;
	
	private String led1;
	private String led2;
	private String led3;
	private String led4;

	public String getReaderCode() {
		return readerCode;
	}

	public void setReaderCode(String readerCode) {
		this.readerCode = readerCode;
	}

	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getLed1() {
		return led1;
	}

	public void setLed1(String led1) {
		this.led1 = led1;
	}

	public String getLed2() {
		return led2;
	}

	public void setLed2(String led2) {
		this.led2 = led2;
	}

	public String getLed3() {
		return led3;
	}

	public void setLed3(String led3) {
		this.led3 = led3;
	}

	public String getLed4() {
		return led4;
	}

	public void setLed4(String led4) {
		this.led4 = led4;
	}

	
}
